<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="./inc/TagLibs.jsp"%>
<c:if test="${alertType!='SHOW'}">
<script src="/js/minierp.js"></script>
<script language="javascript">
	<c:if test="${openWin!=null && openWin!=''}">
		showWin(${openWinWidth},${openWinHeight},"${openWin}");
	</c:if>
	if(window.opener){
		window.close();
	}else{
		var ret="${returnValue}";
		if(ret==""){
			ret=null;
		}
		parent.popRetVal=ret;
		parent.ClosePop();
	}
</script>
</c:if>

<c:if test="${alertType=='SHOW'}">
<c:set var="pageTitle" value="模式窗口" />
<%@ include file="./inc/Title.jsp"%>
<head>
<link rel="stylesheet" type="text/css" href="/css/base.css" />
<script language="javascript">
	function doInit(){
		document.getElementById("mainTbl").style.height=document.documentElement.clientHeight+"px";
	}
	function doReturn(){
		if(window.opener){
			window.close();
		}else{
			var ret="${returnValue}";
			if(ret==""){
				ret=null;
			}
			parent.popRetVal=ret;
			parent.ClosePop();
		}
	}
	setTimeout("doReturn()",3000);
</script>
</head>
<body oncontextmenu="return false" onload="doInit();" onUnload="var ret='${returnValue}';if(ret==''){ret=null};if(!window.opener){parent.popRetVal=ret;}" style="background:#EBFAFF;">
	<table width="100%" align="center" height="100%" border="0" cellpadding="1" cellspacing="1" id="mainTbl">
		<tr> 
		    <td align="center" valign="middle">
		    	<div class="cue">
		    		${alertMsg}
		    	</div>
		    	<c:remove var="alertMsg" scope="session" />
		    </td>
		</tr>
	</table>
</body>
</html>
</c:if>